<script>
	//$('#nip').focus();
	save_data_seleksi<?=$objectid?> = function(){
		$('#form1<?=$objectid?>').form('submit',{
			url: url<?=$objectid?>,
			onSubmit: function(){
				return $(this).form('validate');
			},
			success: function(result){
				//alert(result);
				var result = eval('('+result+')');
				if (result.success){
					$('#window<?=$objectid?>').dialog('close');		// close the dialog
					$('#dg<?=$objectid?>').datagrid('reload');		// reload the user data
				} else {
					ShowMessageError(result.msg);
				}
			}
		});
	}
</script>
<form id="form1<?=$objectid?>" method="post" style="margin:10px">
	<input type="hidden" name="id" value="<?=$id?>">
	
	<div class="fitem" >
		<label style="width:110px;padding:2px 0 1px 3px;">Penerimaan</label>: <?=$nama_psb?>
	</div>
	<div class="fitem" >
		<label style="width:110px;padding:2px 0 1px 3px;">Gelombang</label>: <?=$nama_kelompok?>
	</div>
	<div class="fitem" >
		<label style="width:110px;padding:2px 0 1px 3px;">No. Pendaftaran</label>: <b><?=$no_pendaftaran?></b>
	</div>
	<div class="fitem" >
		<label style="width:110px;padding:2px 0 1px 3px;">Nama</label>: <b><?=$nama?></b>
	</div>
	<div class="fitem" >
		<label style="width:110px;padding:2px 0 1px 3px;">Status</label>: 
		<label style="color:#00F"><input type="radio" name="status" value="1" <?=($status==1||$status==2)?'checked="checked"':''?> />&nbsp;Lulus</label>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<label style="color:#F00"><input type="radio" name="status" value="0" <?=($status==3)?'checked="checked"':''?> />&nbsp;Tidak Lulus</label>
	</div>
</form>


